package com.xiaozhengkeji.starbootserver.base.mapper;

import com.xiaozhengkeji.starbootserver.base.entitys.SysUserEntity;
import java.time.LocalDateTime;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysUserEntityMapper {
    int deleteByPrimaryKey(Integer uid);

    int insert(SysUserEntity record);

    int insertSelective(SysUserEntity record);

    SysUserEntity selectByPrimaryKey(Integer uid);

    int updateByPrimaryKeySelective(SysUserEntity record);

    int updateByPrimaryKeyWithBLOBs(SysUserEntity record);

    int updateByPrimaryKey(SysUserEntity record);

    List<SysUserEntity> queryByAll(SysUserEntity sysUserEntity);

    List<SysUserEntity> queryByUsername(@Param("username") String username);

    List<SysUserEntity> queryByMailbox(@Param("mailbox") String mailbox);

    List<SysUserEntity> queryAllByPhone(@Param("phone") Long phone);
}